package com.meisiabc.support.wechat;

import com.riversoft.weixin.common.oauth2.AccessToken;

public class MockWechatMpClient extends WechatMpClient {
    public String authenticationUrl(String redirect, String scope) {
        return redirect + "?code=WECHAT_MP_CODE_1234";
    }

    public AccessToken getAccessToken(String code) {
        AccessToken result = new AccessToken();
        result.setOpenId("WECHAT_MP_OPENID_1234");
        return result;
    }
}
